.MachineTrans-Text {
  .saladict-Speaker {
    position: absolute;
    left: 0;
    top: 0;
    margin: 0;
  }

  summary {
    cursor: pointer;
  }
}

.MachineTrans-Lines {
  position: relative;
  margin: 0.5em 0;
  padding-left: 1.5em;

  p {
    margin: 0.3em 0;
  }
}

.MachineTrans-LangSwitchWrap {
  position: relative;
  min-height: 1.2em;
}

.MachineTrans-LangSwitchBtn {
  position: absolute;
  font-weight: bold;
  color: #f9690e;
  cursor: pointer;
  background: transparent;
  border: none;

  &:hover {
    text-decoration: underline;
  }
}

.MachineTrans-LangSwitch {
  display: flex;
  position: relative;
  z-index: 100;

  select {
    background: transparent;
  }
}

.MachineTrans-LangSwitch_Titles,
.MachineTrans-LangSwitch_Selects {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: flex-end;
  margin: 5px;
}

.MachineTrans-LangSwitch_Selects {
  select:first-child {
    margin-bottom: 5px;
  }
}

/*-----------------------------------------------*\
    States
\*-----------------------------------------------*/
.isAnimate {
  .MachineTrans-LangSwitch-enter {
    opacity: 0;
    transition: opacity 0.1s;
  }
  .MachineTrans-LangSwitch-enter-active {
    opacity: 1;
  }

  .MachineTrans-LangSwitch-exit {
    opacity: 1;
    transition: opacity 0.1s;
  }
  .MachineTrans-LangSwitch-exit-active {
    opacity: 0;
  }
}
